% TODO: suppress hyphenation in titles

\usepackage[utf8x]{inputenc}
\usepackage[english,russian]{babel}
\usepackage{cmap}                       % makes PDF searchable/copyable
\usepackage{ccfonts}                    % Knuth's Concrete fonts
\usepackage[fleqn,nosumlimits]{amsmath} % AMS math extensions to LaTeX
\usepackage{amssymb,bbding}             % AMS symbols + dingbat font
\usepackage{mathtools}                  % to number only referenced eqns
\usepackage{tikz}

\mathtoolsset{showonlyrefs}
\setcounter{secnumdepth}{2}

\newcommand\exerc{\llap{\raisebox{-1ex}{\Large\HandLeft}\ }}

\let\latexexp\exp
\renewcommand\exp[1]{\mathrm{e}^{#1}}
\let\latexepsilon\epsilon
\renewcommand\epsilon{\varepsilon}
\let\latexkappa\kappa
\renewcommand\kappa{\varkappa}
\let\latexphi\phi
\renewcommand\phi{\varphi}

\newcommand\ave[1]{\langle #1\rangle}
\newcommand\diff{\mathrm{d}}
\newcommand\im{\mathrm{i}}
\newcommand\mucirc{\mathring\mu}
\newcommand{\od}[3][{}]{\mathchoice%
  {\displaystyle\frac{\diff^{#1} #2}{\diff #3^{#1}}}%
  {\textstyle \diff^{#1} #2/\diff #3^{#1}}%
  {\scriptstyle \diff^{#1} #2/\diff #3^{#1}}%
  {\scriptscriptstyle \diff^{#1} #2/\diff #3^{#1}}%
}
\newcommand{\pd}[3][{}]{\mathchoice%
  {\displaystyle\frac{\partial^{#1} #2}{\partial #3^{#1}}}%
  {\textstyle\partial^{#1} #2/\partial #3^{#1}}%
  {\scriptstyle\partial^{#1} #2/\partial #3^{#1}}%
  {\scriptscriptstyle\partial^{#1} #2/\partial #3^{#1}}%
} 
\newenvironment{myproof}%
  {\smallskip\begingroup\par\noindent$\blacktriangleleft$}%
  {$\blacktriangleright$\par\endgroup\smallskip}
\newenvironment{examples}%
  {\begin{asparaitem}[\raisebox{-1ex}{\Large\HandRight}]}%
  {\end{asparaitem}}
\newenvironment{problems}%
  {\begin{asparaenum}[\raisebox{-1ex}{\Large\HandRight} 1.]}%
  {\end{asparaenum}}

% \def\mathnote#1{%
%   \tag*{\rlap{\hspace\marginparsep\smash{\parbox[t]{\marginparwidth}{%
%   \footnotesize#1}}}}
% }

% discrete 2013-02-08 ANS
% seminar1 2013-02-15 AAS
% queuing  2013-02-22 AAS
% seminar2 2013-03-01 AAS
% aloha    2013-03-15 AAS
% markov1  2013-03-22 ANS
% seminar3 2013-03-29 AAS
% markov2  2013-04-05 ANS
% clt      2013-04-12 ANS
% stable   2013-04-19 ANS
% stein    2013-04-26 ANS
% sanov    2013-05-?? ANS
